﻿using System;

class Program
{
    static void Main()
    {
        string str = "43 68 9 23 318";
        int result = 0;
        string[] arr = str.Split(' ');
        for (int i = 0; i < arr.Length; i++)
        {
            result = result + int.Parse(arr[i]);
        }
        Console.WriteLine(result);
    }
}